﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using JBookStore.Models;

namespace JBookStore.Helpers
{
    public static class CatalogHelper
    {
        
        public static IList<Category> GetMainCate()
        {
            StoreDBDataContext db = new StoreDBDataContext();
            return db.Categories.ToList();
        }
    }
}
